<template>
	<view class="success_regis">
		<view class="img">
			<image src="/static/images/icon/regis_success.png" mode="aspectFill"></image>
		</view>
		<view class="success_tip">报名成功</view>
		<view class="desc">您已成功参加活动，可进入圈子参加讨论</view>
		<view class="cir" @tap.stop="intoCir">
			进入圈子
		</view>
		<view class="back" @tap.stop="back">
			返回
		</view>
	</view>
</template>

<script>
	export default {
		
		data() {
			return {
				cir_id:'', //圈子id
			}
		},
		
		onLoad(p) {
			this.cir_id = p.cir_id
		},
		
		methods:{
			
			intoCir() {//进入圈子
				uni.navigateTo({
					url:'/pages/circle/comps/Detail?id=' + this.cir_id
				})
			},
			
			back() {//返回活动详情页
				uni.navigateBack({
					delta:2
				})
			},
		}
	}
</script>

<style lang="scss">
.success_regis {
	text-align: center;
	.img {
		width: 100%;
		margin: 0 auto;
		text-align: center;
		padding: 100rpx 0 50rpx;
		image {
			width: 200rpx;
			height: 200rpx;
		}
	}
	.desc {
		padding: 30rpx;
		color: #a7a7a7;
	}
	.success_tip {
		font-size: 36rpx;
		font-weight: 600;
	}
}
.back {
	width: 95%;
	height: 80rpx;
	line-height: 80rpx;
	background-color: #eeeeef;
	text-align: center;
	margin: 50rpx auto;
	border-radius: 20rpx;
}
.cir {
	width: 95%;
	height: 80rpx;
	line-height: 80rpx;
	background-color: #0068ff;
	color: #FFFFFF;
	text-align: center;
	margin: 50rpx auto;
	border-radius: 20rpx;
}
</style>
